import { dict } from "@/router/enums";
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/dict",
  name: "Dict",
  component: Layout,
  redirect: "/dict/code-map",
  meta: {
    icon: "ep:collection",
    title: "数据字典",
    rank: dict
  },
  children: [
    {
      path: "/dict/code-map",
      name: "Dict-CodeMap",
      component: () => import("@/views/dict/code-map/index.vue"),
      meta: {
        icon: "ep:memo",
        title: "代码映射",
        keepAlive: true,
        showParent: true
      }
    }
  ]
} as RouteConfigsTable;
